package com.qf.service.impl;

import com.qf.mapper.TbBrandMapper;
import com.qf.pojo.TbBrand;
import com.qf.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private TbBrandMapper brandMapper;

    @Override
    public List<TbBrand> selectBrandByCategoryId(String categoryId) {
        return brandMapper.selectBrandByCategoryId(categoryId);
    }
}
